<?php $this->load->view('common/head');?>
<?php $this->load->view('common/navbar');?>
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">专营店基本信息</div>

  <!-- Table -->
  <table class="table table-condensed">
    <tbody>
      <tr>
        <td class="bg-primary col-md-1">所属区：</td>
        <td><?php echo $storeData['region'] ?></td>
      </tr>
      <tr>
        <td class="bg-primary col-md-1">专营店：</td>
        <td><?php echo $storeData['storeName'] ?></td>
      </tr>
      <tr>
        <td class="bg-primary col-md-1">所属双月：</td>
        <td><?php echo $procData['timeUnitStr'] ?></td>
      </tr>
      <tr>
        <td class="bg-primary col-md-1">双月额度：</td>
        <td><?php echo $procData['fixedMoney'] ?></td>
      </tr>
    </tbody>
  </table>
</div>
<form action="<?=printUrl('CityBudget','storeSubmit')?>" name="submit" id="submit" method="post">
<input type="hidden" name="procId" id="procId" value="<?=$procId?>">
<?php
if ($procData['timeUnit'] == 1){
  $this->load->view('CityGx/budgetList', $this->viewData);
  $this->load->view('CityOffline/budgetList', $this->viewData);
}else{
  $this->load->view('CityProject/budgetList', $this->viewData);
}
?>
<?php $this->load->view('CityBudget/budgetMoneyDetail', $this->viewData); ?>
<div class="text-center margin-top-10">
<?php if ($procData['timeUnit'] == 1): ?>
<button type="button" onclick="ajaxConfirmSubmit('您确定提交预算申请吗？','<?=printUrl('CityBudget','storeSubmit')?>',{procId:<?=$procId?>})" class="btn btn-default btn-primary">提交</button>
<!-- <button type="submit" class="btn btn-default btn-primary">提交</button> -->
<?php endif ?>
<button type="button" class="btn btn-default btn-primary" onclick="window.location.href='<?=$breadcrumb[count($breadcrumb)-2]['url']?>'" role="button">返回</button>
</div>
</form>
<?php $this->load->view('common/auditList', $this->viewData); ?>
<?php $this->load->view('common/foot');?>